
<style lang="scss">
	/* 注意要写在第一行，同时给style标签加入lang="scss"属性 */
	@import "@/uni_modules/uview-ui/index.scss";
</style>
<script>
	export default {
		onLaunch: function() {
			const {
				statusBarHeight,
				system
			} = uni.getSystemInfoSync()
			let navHeight = 44
			if (system.indexOf('iOS') == -1) navHeight = 48
			this.$store.commit("setBarHeight", {
				statusBarHeight,
				navHeight
			})
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		}
	}
</script>

<style lang="scss">
	/*每个页面公共css */
	@import '@/common.css';
</style>
